package com.dobbinsoft.iotechn.data.logger;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: rize
 * Date: 2020/3/20
 * Time: 15:44
 */
public class LoggerFactory {

    public static Logger getLogger(Class clazz) {
        org.slf4j.Logger log4j = org.slf4j.LoggerFactory.getLogger(clazz);
        Log4jProxyImpl log4jProxy = new Log4jProxyImpl();
        log4jProxy.setLogger(log4j);
        return log4jProxy;
    }

}
